Optimal. Leaf size=74 \[ \frac {1}{7} x \left (-x^4+x^2+2\right )^{3/2}+\frac {1}{35} x \left (3 x^2+19\right ) \sqrt {-x^4+x^2+2}+\frac {48}{35} F\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right )+\frac {34}{35} E\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {1091, 1176, 1180, 524, 424, 419} \[ \frac {1}{7} x \left (-x^4+x^2+2\right )^{3/2}+\frac {1}{35} x \left (3 x^2+19\right ) \sqrt {-x^4+x^2+2}+\frac {48}{35} F\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right )+\frac {34}{35} E\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 419
Rule 424
Rule 524
Rule 1091
Rule 1176
Rule 1180
Rubi steps
\begin {align*} \int \left (2+x^2-x^4\right )^{3/2} \, dx &=\frac {1}{7} x \left (2+x^2-x^4\right )^{3/2}+\frac {3}{7} \int \left (4+x^2\right ) \sqrt {2+x^2-x^4} \, dx\\ &=\frac {1}{35} x \left (19+3 x^2\right ) \sqrt {2+x^2-x^4}+\frac {1}{7} x \left (2+x^2-x^4\right )^{3/2}-\frac {1}{35} \int \frac {-82-34 x^2}{\sqrt {2+x^2-x^4}} \, dx\\ &=\frac {1}{35} x \left (19+3 x^2\right ) \sqrt {2+x^2-x^4}+\frac {1}{7} x \left (2+x^2-x^4\right )^{3/2}-\frac {2}{35} \int \frac {-82-34 x^2}{\sqrt {4-2 x^2} \sqrt {2+2 x^2}} \, dx\\ &=\frac {1}{35} x \left (19+3 x^2\right ) \sqrt {2+x^2-x^4}+\frac {1}{7} x \left (2+x^2-x^4\right )^{3/2}+\frac {34}{35} \int \frac {\sqrt {2+2 x^2}}{\sqrt {4-2 x^2}} \, dx+\frac {96}{35} \int \frac {1}{\sqrt {4-2 x^2} \sqrt {2+2 x^2}} \, dx\\ &=\frac {1}{35} x \left (19+3 x^2\right ) \sqrt {2+x^2-x^4}+\frac {1}{7} x \left (2+x^2-x^4\right )^{3/2}+\frac {34}{35} E\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right )+\frac {48}{35} F\left (\left .\sin ^{-1}\left (\frac {x}{\sqrt {2}}\right )\right |-2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.05, size = 102, normalized size = 1.38 \[ \frac {5 x^9-13 x^7-31 x^5+45 x^3-75 i \sqrt {-2 x^4+2 x^2+4} F\left (i \sinh ^{-1}(x)|-\frac {1}{2}\right )+34 i \sqrt {-2 x^4+2 x^2+4} E\left (i \sinh ^{-1}(x)|-\frac {1}{2}\right )+58 x}{35 \sqrt {-x^4+x^2+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (-x^{4} + x^{2} + 2\right )}^{\frac {3}{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (-x^{4} + x^{2} + 2\right )}^{\frac {3}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.00, size = 159, normalized size = 2.15 \[ -\frac {\sqrt {-x^{4}+x^{2}+2}\, x^{5}}{7}+\frac {8 \sqrt {-x^{4}+x^{2}+2}\, x^{3}}{35}+\frac {29 \sqrt {-x^{4}+x^{2}+2}\, x}{35}+\frac {41 \sqrt {2}\, \sqrt {-2 x^{2}+4}\, \sqrt {x^{2}+1}\, \EllipticF \left (\frac {\sqrt {2}\, x}{2}, i \sqrt {2}\right )}{35 \sqrt {-x^{4}+x^{2}+2}}-\frac {17 \sqrt {2}\, \sqrt {-2 x^{2}+4}\, \sqrt {x^{2}+1}\, \left (-\EllipticE \left (\frac {\sqrt {2}\, x}{2}, i \sqrt {2}\right )+\EllipticF \left (\frac {\sqrt {2}\, x}{2}, i \sqrt {2}\right )\right )}{35 \sqrt {-x^{4}+x^{2}+2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (-x^{4} + x^{2} + 2\right )}^{\frac {3}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (-x^4+x^2+2\right )}^{3/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (- x^{4} + x^{2} + 2\right )^{\frac {3}{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________